﻿@model StatisticsPackagesViewModel
@{
    ViewBag.Title = "Package Downloads for " + Model.PackageId;
    ViewBag.Tab = "Statistics";
    ViewBag.BlockSearchEngineIndexing = true;
}

<section role="main" class="container main-container page-stats-per-package">
    <div class="row">
        <h1 class="statistics-report-title col-sm-12 page-heading">
            Package Downloads for <a href="@Url.Package(Model.PackageId)">@Model.PackageId</a>
        </h1>
    </div>

    @Html.Partial("_PivotTable")
</section>

@section BottomScripts
{
    @Scripts.Render("~/Scripts/gallery/stats.min.js")
    <script>
        $(document)
            .ready(function () {
                renderGraph('@Url.StatisticsPackageDownloadByVersionReport()', location.search);
            });
    </script>
}
